package com.simple.structure.composite;

/**
 * @author simple
 * @version 1.0
 * @date 2018-12-25 16:47
 * @since 1.0
 */
public class Tree {
    private TreeNode root = null;

    public Tree(String name) {
        root = new TreeNode(name);
    }

    public TreeNode getRoot() {
        return root;
    }
}
